﻿//using System;
//using ABPLHQCS.Permissions;
//using Volo.Abp.Application.Dtos;
//using Volo.Abp.Application.Services;
//using Volo.Abp.Domain.Repositories;
//using ABPLHQCS.Books;
//using ABPLHQCS.Application;
//namespace ABPLHQCS.Books;

//public class BookAppService :
//    CrudAppService<
//        Book, //The Book entity
//        BookDto, //Used to show books
//        Guid, //Primary key of the book entity
//        PagedAndSortedResultRequestDto, //Used for paging/sorting
//        CreateUpdateBookDto>, //Used to create/update a book
//    IBookAppService //implement the
//                    //
//{
//    public BookAppService(IRepository<Book, Guid> repository)
//        : base(repository)
//    {
//        GetPolicyName = ABPLHQCSPermissions.Books.Default;
//        GetListPolicyName = ABPLHQCSPermissions.Books.Default;
//        CreatePolicyName = ABPLHQCSPermissions.Books.Create;
//        UpdatePolicyName = ABPLHQCSPermissions.Books.Edit;
//        DeletePolicyName = ABPLHQCSPermissions.Books.Delete;
//    }
//}